package com.ruoyi.project.registration.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 患者实体
 * */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class RegPatient extends BaseEntity {
    private Integer rpPid;//主键，身份证号

    private String rpName;//患者姓名
    private String rpPhone;//手机号

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String rpBirth;//出生日期
    private String rpAge;//年龄
    private String rpGender;//性别
    private String rpAddress;//地址
    private String rpInfoStatus;//信息状态
}
